package com.lagou.dao;/**
 * Created by IntelliJ IDEA.
 * User: Yangdx.
 * Date: 2020/7/26.
 * Time: 1:23.
 * Tags: Code, we are serious.
 */

import com.lagou.model.Token;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author
 * @create 2020-07-26 1:23
 **/
public interface TokenDao extends JpaRepository<Token, Integer> {

    public Token findFirstByToken(String token);
}
